package com.wandian.ui.controls
{
	//import mx.AnSense.ui.core.ui_internal;

	//use namespace ui_internal;

	public class StyleDeclaration
	{
		protected var styles:Object

		public function StyleDeclaration(styles:Object=null)
		{
			if (styles != null)
			{
				factory(styles);
			}
		}

		public function factory(styles:Object):void
		{
			this.styles=styles;
		}

		public function getStyle(key:String):*
		{
			return styles[key];
		}
	}
}
